package com.springdata.domain;

import org.springframework.data.annotation.Id;

public class User {
	@Id
	private String id;		//
	private String userId;	//유저아이디
	private String name;	//이름
	private String extNo;	//내선번호
	public String getId() {
		return id;
	}
	public String getUserId() {
		return userId;
	}
	public String getName() {
		return name;
	}
	public String getExtNo() {
		return extNo;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setExtNo(String extNo) {
		this.extNo = extNo;
	}
	@Override
	public String toString() {
		return "{\"id\":\"" + id + "\", \"userId\":\"" + userId
				+ "\", \"name\":\"" + name + "\", \"extNo\":\"" + extNo + "\"}";
	}
}
